package com.glc.hms.system.dao;

import com.glc.hms.system.entity.SysRole;
import com.glc.hms.system.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
  * 用户与角色对应关系 Mapper 接口
 * </p>
 *
 * @author Santa
 * @since 2019-11-20
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    SysRole queryRoleByUserId(@Param("userId") Long userId);
}